const tokenKey = 'naive-ts-token'

export default {
  getToken() {
    return localStorage.getItem(tokenKey)
  },
  setToken(token: string) {
    return localStorage.setItem(tokenKey, token)
  },
  removeToken() {
    return localStorage.removeItem(tokenKey)
  }
}
